﻿// Decompiled with JetBrains decompiler
// Type: DnProcessSimulateCommands.RenameTool.XamlResourceManager
// Assembly: DnProcessSimulateCommands, Version=2402.0.0.890, Culture=neutral, PublicKeyToken=null
// MVID: A885D881-AEDF-447E-852A-6F13102E089C
// Assembly location: C:\Program Files\Tecnomatix_2402\eMPower\DotNetCommands\DnProcessSimulateCommands.dll

using System;
using System.Windows;


namespace DnProcessSimulateCommands.RenameTool;

public static class XamlResourceManager
{
  private static ResourceDictionary baseRD;

  public static string GetString(string id)
  {
    string str = "";
    try
    {
      if (XamlResourceManager.baseRD == null)
      {
        XamlResourceManager.baseRD = new ResourceDictionary();
        XamlResourceManager.baseRD.Source = new Uri("pack://application:,,,/DnProcessSimulateCommands;component/RenameTool/Resources/StringResources.xaml");
      }
      str = (string) XamlResourceManager.baseRD[(object) id];
    }
    catch (Exception ex)
    {
    }
    return str;
  }
}
